build:
	gcc -static -O0 test.c -o test  # -O0禁用优化

run-AtomicCPU:
	./build/X86/gem5.opt cpu_compare.py --cpu-type=atomic

run-TraceCPU:
	./build/X86/gem5.opt cpu_compare.py --cpu-type=trace

run-TimingCPU:
	./build/X86/gem5.opt cpu_compare.py --cpu-type=timing

clean:
	rm -rf test test.asm
